package com.pandemicode.framework.smtp.events {
	import flash.events.Event;
	import com.pandemicode.framework.smtp.mailer.Response;
	
	public class SMTPEvent extends Event {
		public static const MAIL_SENT:String = "mailSent";
		public static const AUTHENTICATED:String = "authenticated";
		public static const MAIL_ERROR:String = "mailError";
		public static const BAD_SEQUENCE:String = "badSequence";
		public static const CONNECTED:String = "connected";
		public static const DISCONNECTED:String = "disconnected";
		
		public var response:Response;
		
		public function SMTPEvent(type:String, response:Response) {
			super(type);
			this.response = response;
		}
	}
}
